﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace WebApplication1.Classes
{
    class User
    {
        public User(int id, string c, int d, string e, string f, int g, string h, string i)
        {
            this.id = id;
            this.password = c;
            this.role = d;
            this.name = e;
            this.surname = f;
            this.phone = g;
            this.email = h;
            this.login = i;

        }
        private string login{ get; set; }

        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string password;

        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        private int role;

        public int Role
        {
            get { return role; }
            set { role = value; }
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string surname;

        public string Surname
        {
            get { return surname; }
            set { surname = value; }
        }
        private int phone;

        public int Phone
        {
            get { return phone; }
            set { phone = value; }
        }
        private string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }




    }
}

